package cn.xn.hrms.domain.service;

import cn.xn.hrms.api.dto.res.PersonalSalaryDTO;
import cn.xn.hrms.api.dto.req.PersonalSalaryReqDTO;
import com.github.pagehelper.PageInfo;

import java.util.Collection;
import java.util.List;

/**
 * @author ysz
 */
public interface PersonalSalaryService {
    PageInfo<PersonalSalaryDTO> findAll(int year, int month, Integer departmentId, int personalId, int pageNum,
                                        int pageSize);
    List<PersonalSalaryDTO> all();

    void insert(PersonalSalaryReqDTO personalSalaryReqDTO);

    void deleteByIdIn(Collection<Integer> idList);

    void updateById(Integer id, PersonalSalaryReqDTO personalSalaryReqDTO);
}
